<?php 
$hostName = "localhost";
$database = "sannhao";
$userName = "root";
$userPass = "";
@ $connect = mysql_connect($hostName,$userName,$userPass)or die("Loi ket noi");
mysql_select_db($database,$connect)or die ("Loi database");
mysql_query("set names utf8");
?>